#include "stdafx.h"
#include "CursadeSearchRule.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_CursadeSearchRule);

struct  CursadeSearchRuleDefReflectionRegister
{
	CursadeSearchRuleDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(CursadeSearchRule,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(CursadeSearchRule,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(CursadeSearchRule,m_iSelectPowerAdd,10).Editor_SetAsRaw("Power");
		REGISTER_REFLECTION_MEMBER(CursadeSearchRule,m_iSelectPowerRange,5).Editor_SetAsRaw("Power");
		
		GlobalClassManager::Instance().RegisterClass(CursadeSearchRule::s_GetReflection(),eDefaultDef_CursadeSearchRule);
		GlobalDefManager::Instance().RegisterDefManger(&CursadeSearchRuleManager::Instance());

	}
}___CursadeSearchRuleDefReflectionRegister;

rewrite  void CursadeSearchRule::OnArchieveReaded()
{
}

void CursadeSearchRuleManager::OnArchieveReaded()
{
	__CursadeSearchRuleManager::OnArchieveReaded();
}